package com.jzd1997.lesson1;

/**
 * @author jiangzd
 * @date 2019/7/15 9:40
 */
public class OperationDiv extends Operation {
    @Override
    public double getResult() {
        return operandB==0?0:operandA/operandB;
    }
}
